package com.ems.service.user;

import com.ems.pojo.Invigilate.room.RoomUser;
import com.ems.pojo.user.User;

import java.util.List;
import java.util.Map;

public interface UserService {

	public User userLogin(User user);

	public List<User> getAllUserByGroupId(int gr_id);

	public void updateUserByUserId(User user);

	public void updateUserPasswordById(User user);

	public List<User> findUserByCondition(Map<String,Object> map);

	public int addUser(User user);

	public void deleteUser(List<User> list);

	public User getUserById(int id);

	public List<User> getUserInfoByListId(List<RoomUser> roomUserList,Map<String, Object> map);

	public int userRegister(User user);

	public int userNameCount(String userName);

	public User getUserByEmail(String user_email);

}
